package com.lky.swagger2pro.mapper;

import com.lky.swagger2pro.model.Book;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BookMapper {
    int deleteByPrimaryKey(String bookid);

    int insert(Book record);

    Book selectByPrimaryKey(String bookid);

    int updateByPrimaryKey(Book record);

    List<Book> queryAll();
}